package com.jdrx.sw.sewage.dao;

import java.time.LocalDateTime;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.jdrx.platform.jdbc.dao.BaseDAO;
import com.jdrx.sw.sewage.beans.entity.CdRealtimeDataPO;
import com.jdrx.sw.sewage.beans.vo.CdRunCurveVO;

@Mapper
public interface CdRealtimeDataDAO extends BaseDAO<CdRealtimeDataPO> {
	
	List<CdRealtimeDataPO> listLatestByNames(@Param("names") List<String> names);
	
	List<CdRunCurveVO> listByintervalTime(@Param("name") String name,
										  @Param("startDataTime") LocalDateTime startDataTime,
										  @Param("endDataTime") LocalDateTime endDataTime);
}